package com.teamwork.demo.service;

import com.teamwork.demo.entity.User;

/**
 * UserService.java: purpose of its file
 *
 * @project: demo1
 * @date: 2024/7/22
 * @author: 30772
 * @version: 1.0.0
 */
public interface UserService {
    boolean isUserRegistered(Integer id);

    User registerNewUser(User registerUser);

    boolean islogin( String uphone, String password);

    User getUserByPhone(String uphone);
}
